package com.chuangjiangx.member.manager.web.web.stored.request;

import com.chuangjiangx.commons.request.PageRequest;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 李孝延
 * @Date 2017/12/19 9:35
 **/
@Setter
@Getter
public class RechargeRuleTerminalCountDetailListForMerchantRequest extends PageRequest {
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @NotNull(message = "{member.startTime.null}")
    private Date startTime;
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @NotNull(message = "{member.endTime.null}")
    private Date endTime;
    /**
     * 终端类型
     */
    @NotNull(message = "{member.terminalType.null}")
    private Byte payTerminal;
}
